package auto;

import org.openqa.selenium.WebDriver;

public class OpenWebSiteCommand implements Command {
    String webSiteAddress;

    public OpenWebSiteCommand(String webSiteAddress) {
        this.webSiteAddress = webSiteAddress;
    }

    @Override
    public void run(WebDriver driver) {
        driver.get(webSiteAddress);
    }
}
